package com.skd.mall.order.fegin;


import com.skd.mall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("mall-member")
public interface MemberServiceFegin {
    @RequestMapping("member/memberreceiveaddress/getAddressById/{Id}")
    public List<MemberAddressVo> getAddressById(@PathVariable("Id") Long Id);

    @RequestMapping("member/memberreceiveaddress/getAddress/{id}")
    //@RequiresPermissions("member:memberreceiveaddress:info")
    public MemberAddressVo getAddress(@PathVariable("id") Long id);
}
